#ifndef CDGCLOCK_H_
#define CDGCLOCK_H_

#include <qstring.h>
#include <qgl.h>
#include <vector>


class cdgclock
{
  public:
    cdgclock(void);
    void init(int width, int heigth, unsigned int maxtime);
    void setTime(unsigned int currentTime);
    void paintGL();

 private:
    std::vector<double> sinval;
    std::vector<double> cosval;
    int m_x;
    int m_y;
    int m_width;
    int m_height;
    unsigned int m_maxtime;
    unsigned int m_current;
};

#endif
